package com.westos.yingxiong.service;

import com.westos.yingxiong.bean.Yingxiong;

import java.util.ArrayList;
import java.util.List;

public class YingxiongService {
    public List initSerice(){
        List<Yingxiong> list = new ArrayList<>();
        Yingxiong yx1 = new Yingxiong();
        yx1.setNum("01");
        yx1.setName("林冲");
        Yingxiong yx2 = new Yingxiong();
        yx2.setNum("02");
        yx2.setName("李逵");
        list.add(yx1);
        list.add(yx2);
        return list;
    }
}
